﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ProductCenterList.aspx.cs"
    Inherits="ProductCenter_ProductCenterList" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="pager" %>
<%@ Register Src="~/Controls/Header.ascx" TagName="Header" TagPrefix="ucHeader" %>
<%@ Register Src="~/Controls/Footer.ascx" TagName="Footer" TagPrefix="ucFooter" %>
<%@ Register Src="~/Controls/Left.ascx" TagName="Left" TagPrefix="ucLeft" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>产品中心</title>
    <meta name="keywords" content="<%= ComDataHelper.GetKeywordsById() %>" />
    <meta http-equiv="Content-Type" content="text/html;charset=gb2312"/>
    <link href="../Style/css/default.css" rel="stylesheet" type="text/css" />
    <script src="../Style/js/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="../Style/js/Common.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <center>
        <ucHeader:Header ID="ucHeader" runat="server" />
        <div class="divContent">
            <ucLeft:Left ID="ucLeft" runat="server" />
            <div class="divRight">
                <div class="divCurrentPosition">
                    当前位置： 首页 > 产品中心
                    <asp:Label ID="lbProductTypeName" runat="server"></asp:Label>
                </div>
                <div class="divShowContent">
                    <asp:Repeater ID="repProduct" runat="server">
                        <ItemTemplate>
                            <div class="divItem">
                                <div class="pic">
                                    <a class="apro" href='ProductCenterDetail.aspx?Id=<%# Eval("ID") %>&type=1'>
                                        <img src='<%# GetFileUrl(Eval("PicUrl")!=null?Eval("PicUrl").ToString():"") %>' />
                                    </a>
                                </div>
                                <div class="name">
                                    <a href='ProductCenterDetail.aspx?Id=<%# Eval("ID") %>&type=1' title='<%# Eval("TName") %>'>
                                        <%# Eval("TName") != null ? Eval("TName").ToString().Length > 12 ? Eval("TName").ToString().Substring(0,12) + "..." : Eval("TName") : ""%></a>
                                </div>
                            </div>
                        </ItemTemplate>
                    </asp:Repeater>
                </div>
                <div class="clear">
                </div>
                <div class="divContentPage">
                    <pager:AspNetPager ID="AspNetPager" runat="server" Width="100%" UrlPaging="true"
                        ShowPageIndexBox="Always" PageIndexBoxType="DropDownList" TextBeforePageIndexBox="跳转: "
                        HorizontalAlign="right" PageSize="8" OnPageChanged="AspNetPager_PageChanged"
                        EnableTheming="true" FirstPageText="首页" LastPageText="尾页" NextPageText="下一页"
                        PrevPageText="上一页">
                    </pager:AspNetPager>
                </div>
            </div>
        </div>
        <ucFooter:Footer ID="ucFooter" runat="server" />
    </center>
    </form>
</body>
</html>
